package com.lwj.liwanjia.view.activity.work.shang_jia;

import android.view.View;
import android.widget.TextView;

import com.lwj.liwanjia.R;
import com.lwj.liwanjia.base.BaseActivity;

/**
 * Created by 001 on 2017/11/4.
 */

public class ShenQingZhongActivity extends BaseActivity implements View.OnClickListener {

    private TextView tv_back;
    private TextView tv_title;

    @Override
    protected void initView() {
        tv_back = (TextView) findViewById(R.id.tv_left);
        tv_title = (TextView) findViewById(R.id.tv_title);

        tv_back.setVisibility(View.VISIBLE);
        tv_title.setVisibility(View.VISIBLE);
        tv_title.setText("我是商家");

        tv_back.setOnClickListener(this);
    }

    @Override
    protected void initData() {

    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_sheng_qing_zhong;
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            //返回
            case R.id.tv_left:
                finish();
                break;
        }
    }
}
